home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / include / lib / bcpl.h < prev    next >
C/C++ Source or Header  |  1994-02-01  |  280b  |  16 lines

  1.  
  2. /*
  3.  * $VER: lib/bcpl.h 1.0 (17.4.93)
  4.  *
  5.  * (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
  6.  */
  7.  
  8. #ifndef _LIB_BCPL_H
  9. #define _LIB_BCPL_H
  10.  
  11. #define BTOC(bptr, type)  ((type *)((long)(bptr) << 2))
  12. #define CTOB(cptr)  ((BPTR)((unsigned long)(cptr) >> 2))
  13.  
  14. #endif
  15.  
  16.